
package src.uipackage.ui.events {
	
	import flash.events.Event;
	
	/**
	* Event dispatched by OBO_ValueSlider when moving dragger/changing value.
	* @author Devon O.
	*/
	public class ValueSliderEvent extends Event {
		
		public static const DRAG:String = "onDrag";
		public static const STOPDRAG:String = "stopDrag";
		
		private var _value:Number;
		
		public function ValueSliderEvent(type:String, value:Number) {
			super (type);
			_value = value;
		}
		
		/**
		 * Returns the current value of the ValueSlider.
		 */
		public function get value():Number { return _value; }
	}
}
